


import React, { useEffect } from 'react'
import { httpGetVideoCommentList } from '../../apis';
import VideoComment from './VideoComment';

export default function ShowVideoComments(props) {
    const list = props.list;
    return (
        <div>
            {
                list.map((v)=>(
                    // someting interesting u must put {...v} before everything?
                    <VideoComment {...v} key={v.videoCommentId} ></VideoComment>
                ))
            }
        </div>
    )
}
